package com.service.impl;

import java.util.Map;

import com.mapper.QrcodeDao;
import com.service.QrcodeService;
import com.utils.ResultJson;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class QrcodeServiceImpl implements QrcodeService {
    Logger log=Logger.getLogger(this.getClass());
    @Resource
    private QrcodeDao qrcodeDao;
    
    
	@Override
	public ResultJson getUserInfo(String id) {
		Map<String,String> userInfo = qrcodeDao.getUserInfo(id);
		return new ResultJson(100,userInfo);
	}
}
